<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateFriendlinkTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //购物信息
        Schema::create('friendlink', function (Blueprint $table) {
            $table->increments('id');	
            $table->string('lname');
            $table->string('url');	
            $table->string('logo');
            $table->string('title');
			$table->integer('linkorder');
            $table->string('ltime');	
			$table->enum('class', ['up', 'down']);
			//$table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('friendlink');
    }
}
